package org.example.project01.common;

import lombok.Getter;

@Getter
public enum ResponseEnum {
    OK("200","成功"),
    DELETE("300","删除成功"),
    FAIL("400","失败"),
    ERROR("500","出现错误了"),
    MODIFY("700","修改成功");


    private String code;
    private String message;

    ResponseEnum(String code,String message){
        this.code=code;
        this.message=message;
    }
}
